From 1d7a62a2cd09bda9ef798fcd95a5e4cbe6b865b0 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Wed, 27 Feb 2008 09:58:49 +0000 Subject: [PATCH] when building the Quartz backend, use a native Mac OS X application for 2008-02-27 Sven Neumann * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the Quartz backend, use a native Mac OS X application for the print preview (bug #518624). svn path=/trunk/; revision=19663 --- ChangeLog | 6 ++++++ gtk/Makefile.am | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index a98c8f8e14..4cf6610f56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-27 Sven Neumann + + * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the + Quartz backend, use a native Mac OS X application for the print + preview (bug #518624). + 2008-02-26 Michael Natterer * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free() diff --git a/gtk/Makefile.am b/gtk/Makefile.am index fe08407465..9bf76e736c 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -5,8 +5,12 @@ xdgmimedir = if OS_UNIX xdgmimedir += xdgmime +if USE_QUARTZ +GTK_PRINT_PREVIEW_COMMAND="/Applications/Preview.app/Contents/MacOS/Preview %f" +else GTK_PRINT_PREVIEW_COMMAND="evince --unlink-tempfile --preview --print-settings %s %f" endif +endif SUBDIRS = theme-bits $(xdgmimedir) . tests DIST_SUBDIRS=theme-bits xdgmime tests -- 2.30.2